{include file="include:header" /}
<body class="fixed-sidebar full-height-layout gray-bg" >
<div class="row wrapper border-bottom white-bg page-heading lawyer-list">
    <div class="col-sm-4">
        <h2>律师展示</h2>
        <!-- 导航部分 -->
        <ol class="breadcrumb">
            <li><a href="{:url('admin/Index/home')}">主页</a></li>
            <li><a href="#">前台设置</a></li>
            <li><strong>律师展示</strong></li>
        </ol>
    </div>
    <div class="col-sm-8">
        <div class="title-action">
            <!-- 链接部分 -->
            <a href="{:url('admin/Front/lawyer_any')}" class="btn btn-primary">新增律师</a>
        </div>
    </div>
</div>
<!-- 会员列表 -->
<div class="wrapper wrapper-content  admit-index">
    <!-- 表格主体 -->
    <table class="table table-bordered white-bg">
        <tr>
            <th>排序</th>
            <th>律师姓名</th>
            <th>律师事务所</th>
            <th>律师头像</th>
            <th>状态</th>
            <th>描述</th>
            <th>新增时间</th>
            <th>操作</th>
        </tr>
        {volist name="list" id="v"}
        <tr class="goods-list">

            <td>{$v['l_sort']}</td>
            <td ><span class="btn btn-xs btn-primary">{$v['l_name']}</span></td>
            <td >{$v['l_office']}</td>
            <td><img src="{$v['l_img']}" alt="" height="70" /></td>
            <td class="text-warning">
                {if condition="$v['l_state'] eq 1"}
                <font color="red">未发布</font>
                {else/}已发布
                {/if}
            </td>
            <td style="word-wrap:break-word;width: 200px;">{$v['l_describe']|msubstr=0,30}</td>
            <td >{$v['l_addtime']}</td>
            <td >
                <a class="btn btn-xs btn-outline btn-default" href="{:url('admin/Front/lawyer_any',array('lawyer_id'=>$v['lawyer_id']))}">编辑</a>&nbsp;&nbsp;
                <a class="btn btn-xs btn-outline btn-default lawyer-delete" href="#" value="{$v['lawyer_id']}" >删除</a>&nbsp;&nbsp;
            </td>
        </tr>
        {/volist}
    </table>
    <!-- 分页 -->
    <div class="btn-group">{$page}</div>
</div>
</body>
</html>
{include file="include:js" /}


